package com.stedu.mall.common.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

//表示购物车的实体类
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Cart  implements Serializable {
    private Integer id;
    private Integer count;
    private Integer userId;
    private Integer goodsId;
    //购物车对应商品
    private Goods goods;
}
